#ifndef HELPSELECTDIALOG_H
#define HELPSELECTDIALOG_H

#include <QtGui/QDialog>
#include <QUrl>
#include <QMap>

namespace Ui {
    class HelpSelectDialog;
}

class HelpSelectDialog : public QDialog {
    Q_OBJECT
    Q_DISABLE_COPY(HelpSelectDialog)
public:
    explicit HelpSelectDialog(const QMap<QString, QUrl>& map, const QString& topic, QWidget *parent = 0);
    virtual ~HelpSelectDialog();

    QUrl getSelectedUrl();

protected:
    virtual void changeEvent(QEvent *e);

private:
    Ui::HelpSelectDialog *m_ui;
    const QMap<QString, QUrl>& map;
};

#endif // HELPSELECTDIALOG_H
